[INFO] cloning repository https://github.com/quahd/tcp-client
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/quahd/tcp-client" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fquahd%2Ftcp-client", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fquahd%2Ftcp-client'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] b6f58ab46b239f36c972bc09a8f6baff5732ca6f
[INFO] fixing quahd/tcp-client against try#622891a4e29178280638a6b63a8908bde2c0c854+cargoflags=-Zfix-edition=start=2015 for pr-157817-2
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fquahd%2Ftcp-client" "/workspace/builds/worker-6-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc1/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/quahd/tcp-client
[INFO] finished tweaking git repo https://github.com/quahd/tcp-client
[INFO] tweaked toml for git repo https://github.com/quahd/tcp-client written to /workspace/builds/worker-6-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/quahd/tcp-client on toolchain 622891a4e29178280638a6b63a8908bde2c0c854
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/quahd/tcp-client already has a lockfile, it will not be regenerated
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded windows-collections v0.1.1
[INFO] [stderr]   Downloaded windows-future v0.1.1
[INFO] [stderr]   Downloaded windows-core v0.60.1
[INFO] [stderr]   Downloaded windows-numerics v0.1.1
[INFO] [stderr]   Downloaded windows v0.60.0
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/source:/opt/rustwide/workdir:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:3a6becf2bc8dde7f3fa57ede90e4f284e72d296796fc446bbb1e2c7cc0530151" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] ff5dcf91504117f7be8740b5f841e26262310ab7cc15d3e117377226617675ad
[INFO] running `Command { std: "docker" "start" "ff5dcf91504117f7be8740b5f841e26262310ab7cc15d3e117377226617675ad", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "ff5dcf91504117f7be8740b5f841e26262310ab7cc15d3e117377226617675ad" "/opt/rustwide/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "ff5dcf91504117f7be8740b5f841e26262310ab7cc15d3e117377226617675ad", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=" "-e" "RUSTDOCFLAGS=" "-w" "/opt/rustwide/workdir" "--user" "0:0" "ff5dcf91504117f7be8740b5f841e26262310ab7cc15d3e117377226617675ad" "/opt/rustwide/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "fix" "--allow-no-vcs" "--allow-dirty" "--frozen" "--all" "--all-targets" "--message-format=json" "-Zfix-edition=start=2015", kill_on_drop: false }`
[INFO] [stderr]    Compiling proc-macro2 v1.0.101
[INFO] [stderr]     Checking windows-link v0.1.3
[INFO] [stderr]    Compiling libc v0.2.176
[INFO] [stderr]    Compiling quote v1.0.41
[INFO] [stderr]     Checking windows-strings v0.3.1
[INFO] [stderr]     Checking windows-result v0.3.4
[INFO] [stderr]    Compiling syn v2.0.106
[INFO] [stderr]     Checking getrandom v0.2.16
[INFO] [stderr]     Checking rand_core v0.6.4
[INFO] [stderr]     Checking rand_chacha v0.3.1
[INFO] [stderr]     Checking rand v0.8.5
[INFO] [stderr]    Compiling windows-implement v0.59.0
[INFO] [stderr]    Compiling windows-interface v0.59.2
[INFO] [stderr]    Compiling thiserror-impl v1.0.69
[INFO] [stderr]     Checking thiserror v1.0.69
[INFO] [stderr]     Checking windows-core v0.60.1
[INFO] [stderr]     Checking windows-collections v0.1.1
[INFO] [stderr]     Checking windows-numerics v0.1.1
[INFO] [stderr]     Checking windows-future v0.1.1
[INFO] [stderr]     Checking windows v0.60.0
[INFO] [stderr]     Checking tcp_client v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] error[E0433]: cannot find `Win32` in `windows`
[INFO] [stdout]  --> src/main.rs:2:14
[INFO] [stdout]   |
[INFO] [stdout] 2 | use windows::Win32::{Networking::WinSock::*};
[INFO] [stdout]   |              ^^^^^ could not find `Win32` in `windows`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find `Win32` in `windows`
[INFO] [stdout]  --> src/main.rs:2:14
[INFO] [stdout]   |
[INFO] [stdout] 2 | use windows::Win32::{Networking::WinSock::*};
[INFO] [stdout]   |              ^^^^^ could not find `Win32` in `windows`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `SOCKET` in this scope
[INFO] [stdout]   --> src/main.rs:14:15
[INFO] [stdout]    |
[INFO] [stdout] 14 |     let sock: SOCKET = init_socket()?;
[INFO] [stdout]    |               ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `SOCKADDR_IN` in this scope
[INFO] [stdout]   --> src/main.rs:15:22
[INFO] [stdout]    |
[INFO] [stdout] 15 |     let server_addr: SOCKADDR_IN = init_addr_server()?;
[INFO] [stdout]    |                      ^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `SOCKET` in this scope
[INFO] [stdout]   --> src/main.rs:28:33
[INFO] [stdout]    |
[INFO] [stdout] 28 | pub fn init_socket() -> Result< SOCKET, ErrorMess> {
[INFO] [stdout]    |                                 ^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]    |
[INFO] [stdout] 28 | pub fn init_socket<SOCKET>() -> Result< SOCKET, ErrorMess> {
[INFO] [stdout]    |                   ++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `SOCKET` in this scope
[INFO] [stdout]   --> src/main.rs:36:15
[INFO] [stdout]    |
[INFO] [stdout] 36 |     let sock: SOCKET = match unsafe { socket(2, WINSOCK_SOCKET_TYPE(1), 6) } 
[INFO] [stdout]    |               ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `SOCKADDR_IN` in this scope
[INFO] [stdout]   --> src/main.rs:47:37
[INFO] [stdout]    |
[INFO] [stdout] 47 | pub fn init_addr_server() -> Result<SOCKADDR_IN, ErrorMess> {
[INFO] [stdout]    |                                     ^^^^^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]    |
[INFO] [stdout] 47 | pub fn init_addr_server<SOCKADDR_IN>() -> Result<SOCKADDR_IN, ErrorMess> {
[INFO] [stdout]    |                        +++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `SOCKADDR_IN` in this scope
[INFO] [stdout]   --> src/main.rs:51:22
[INFO] [stdout]    |
[INFO] [stdout] 51 |     let server_addr: SOCKADDR_IN = SOCKADDR_IN {
[INFO] [stdout]    |                      ^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0422]: cannot find struct, variant or union type `SOCKADDR_IN` in this scope
[INFO] [stdout]   --> src/main.rs:51:36
[INFO] [stdout]    |
[INFO] [stdout] 51 |     let server_addr: SOCKADDR_IN = SOCKADDR_IN {
[INFO] [stdout]    |                                    ^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `AF_INET` in this scope
[INFO] [stdout]   --> src/main.rs:52:21
[INFO] [stdout]    |
[INFO] [stdout] 52 |         sin_family: AF_INET,
[INFO] [stdout]    |                     ^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0422]: cannot find struct, variant or union type `IN_ADDR` in this scope
[INFO] [stdout]   --> src/main.rs:54:20
[INFO] [stdout]    |
[INFO] [stdout] 54 |         sin_addr:  IN_ADDR { S_un: IN_ADDR_0 {S_addr: ip_u32} },
[INFO] [stdout]    |                    ^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0422]: cannot find struct, variant or union type `IN_ADDR_0` in this scope
[INFO] [stdout]   --> src/main.rs:54:36
[INFO] [stdout]    |
[INFO] [stdout] 54 |         sin_addr:  IN_ADDR { S_un: IN_ADDR_0 {S_addr: ip_u32} },
[INFO] [stdout]    |                                    ^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `SOCKET` in this scope
[INFO] [stdout]   --> src/main.rs:59:28
[INFO] [stdout]    |
[INFO] [stdout] 59 | pub fn connect_server(sock:SOCKET ,server_addr: SOCKADDR_IN) -> Result<(), ErrorMess>{
[INFO] [stdout]    |                            ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `SOCKADDR_IN` in this scope
[INFO] [stdout]   --> src/main.rs:59:49
[INFO] [stdout]    |
[INFO] [stdout] 59 | pub fn connect_server(sock:SOCKET ,server_addr: SOCKADDR_IN) -> Result<(), ErrorMess>{
[INFO] [stdout]    |                                                 ^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `SOCKADDR_IN` in this scope
[INFO] [stdout]   --> src/main.rs:61:68
[INFO] [stdout]    |
[INFO] [stdout] 61 | ...                   &server_addr as *const SOCKADDR_IN as *const SOCKADDR,
[INFO] [stdout]    |                                              ^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `SOCKADDR` in this scope
[INFO] [stdout]   --> src/main.rs:61:90
[INFO] [stdout]    |
[INFO] [stdout] 61 | ...                   &server_addr as *const SOCKADDR_IN as *const SOCKADDR,
[INFO] [stdout]    |                                                                    ^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `SOCKADDR_IN` in this scope
[INFO] [stdout]   --> src/main.rs:62:65
[INFO] [stdout]    |
[INFO] [stdout] 62 | ...                   std::mem::size_of::<SOCKADDR_IN>() as i32)};
[INFO] [stdout]    |                                           ^^^^^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]    |
[INFO] [stdout] 59 | pub fn connect_server<SOCKADDR_IN>(sock:SOCKET ,server_addr: SOCKADDR_IN) -> Result<(), ErrorMess>{
[INFO] [stdout]    |                      +++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `SOCKET_ERROR` in this scope
[INFO] [stdout]   --> src/main.rs:63:20
[INFO] [stdout]    |
[INFO] [stdout] 63 |     if i_result == SOCKET_ERROR{
[INFO] [stdout]    |                    ^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `SOCKET` in this scope
[INFO] [stdout]   --> src/main.rs:83:37
[INFO] [stdout]    |
[INFO] [stdout] 83 | pub fn send_mess(input: &str, sock: SOCKET) -> Result<(), ErrorMess> {
[INFO] [stdout]    |                                     ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `SOCKET_ERROR` in this scope
[INFO] [stdout]    --> src/main.rs:100:24
[INFO] [stdout]     |
[INFO] [stdout] 100 |         if i_result == SOCKET_ERROR {
[INFO] [stdout]     |                        ^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `SOCKET` in this scope
[INFO] [stdout]    --> src/main.rs:133:28
[INFO] [stdout]     |
[INFO] [stdout] 133 | pub fn receive_mess (sock: SOCKET) ->  Result <(), ErrorMess>{
[INFO] [stdout]     |                            ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::fs::remove_dir_all`
[INFO] [stdout]  --> src/main.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use std::fs::remove_dir_all;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Rng`
[INFO] [stdout]   --> src/main.rs:10:12
[INFO] [stdout]    |
[INFO] [stdout] 10 | use rand::{Rng};
[INFO] [stdout]    |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `WSADATA` in this scope
[INFO] [stdout]   --> src/main.rs:29:24
[INFO] [stdout]    |
[INFO] [stdout] 29 |     let mut wsa_data = WSADATA::default();
[INFO] [stdout]    |                        ^^^^^^^ use of undeclared type `WSADATA`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `SOCKET` in this scope
[INFO] [stdout]   --> src/main.rs:14:15
[INFO] [stdout]    |
[INFO] [stdout] 14 |     let sock: SOCKET = init_socket()?;
[INFO] [stdout]    |               ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `SOCKADDR_IN` in this scope
[INFO] [stdout]   --> src/main.rs:15:22
[INFO] [stdout]    |
[INFO] [stdout] 15 |     let server_addr: SOCKADDR_IN = init_addr_server()?;
[INFO] [stdout]    |                      ^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `SOCKET` in this scope
[INFO] [stdout]   --> src/main.rs:28:33
[INFO] [stdout]    |
[INFO] [stdout] 28 | pub fn init_socket() -> Result< SOCKET, ErrorMess> {
[INFO] [stdout]    |                                 ^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]    |
[INFO] [stdout] 28 | pub fn init_socket<SOCKET>() -> Result< SOCKET, ErrorMess> {
[INFO] [stdout]    |                   ++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `SOCKET` in this scope
[INFO] [stdout]   --> src/main.rs:36:15
[INFO] [stdout]    |
[INFO] [stdout] 36 |     let sock: SOCKET = match unsafe { socket(2, WINSOCK_SOCKET_TYPE(1), 6) } 
[INFO] [stdout]    |               ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `SOCKADDR_IN` in this scope
[INFO] [stdout]   --> src/main.rs:47:37
[INFO] [stdout]    |
[INFO] [stdout] 47 | pub fn init_addr_server() -> Result<SOCKADDR_IN, ErrorMess> {
[INFO] [stdout]    |                                     ^^^^^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]    |
[INFO] [stdout] 47 | pub fn init_addr_server<SOCKADDR_IN>() -> Result<SOCKADDR_IN, ErrorMess> {
[INFO] [stdout]    |                        +++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `SOCKADDR_IN` in this scope
[INFO] [stdout]   --> src/main.rs:51:22
[INFO] [stdout]    |
[INFO] [stdout] 51 |     let server_addr: SOCKADDR_IN = SOCKADDR_IN {
[INFO] [stdout]    |                      ^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0422]: cannot find struct, variant or union type `SOCKADDR_IN` in this scope
[INFO] [stdout]   --> src/main.rs:51:36
[INFO] [stdout]    |
[INFO] [stdout] 51 |     let server_addr: SOCKADDR_IN = SOCKADDR_IN {
[INFO] [stdout]    |                                    ^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `AF_INET` in this scope
[INFO] [stdout]   --> src/main.rs:52:21
[INFO] [stdout]    |
[INFO] [stdout] 52 |         sin_family: AF_INET,
[INFO] [stdout]    |                     ^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0422]: cannot find struct, variant or union type `IN_ADDR` in this scope
[INFO] [stdout]   --> src/main.rs:54:20
[INFO] [stdout]    |
[INFO] [stdout] 54 |         sin_addr:  IN_ADDR { S_un: IN_ADDR_0 {S_addr: ip_u32} },
[INFO] [stdout]    |                    ^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0422]: cannot find struct, variant or union type `IN_ADDR_0` in this scope
[INFO] [stdout]   --> src/main.rs:54:36
[INFO] [stdout]    |
[INFO] [stdout] 54 |         sin_addr:  IN_ADDR { S_un: IN_ADDR_0 {S_addr: ip_u32} },
[INFO] [stdout]    |                                    ^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `SOCKET` in this scope
[INFO] [stdout]   --> src/main.rs:59:28
[INFO] [stdout]    |
[INFO] [stdout] 59 | pub fn connect_server(sock:SOCKET ,server_addr: SOCKADDR_IN) -> Result<(), ErrorMess>{
[INFO] [stdout]    |                            ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `SOCKADDR_IN` in this scope
[INFO] [stdout]   --> src/main.rs:59:49
[INFO] [stdout]    |
[INFO] [stdout] 59 | pub fn connect_server(sock:SOCKET ,server_addr: SOCKADDR_IN) -> Result<(), ErrorMess>{
[INFO] [stdout]    |                                                 ^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `SOCKADDR_IN` in this scope
[INFO] [stdout]   --> src/main.rs:61:68
[INFO] [stdout]    |
[INFO] [stdout] 61 | ...                   &server_addr as *const SOCKADDR_IN as *const SOCKADDR,
[INFO] [stdout]    |                                              ^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `SOCKADDR` in this scope
[INFO] [stdout]   --> src/main.rs:61:90
[INFO] [stdout]    |
[INFO] [stdout] 61 | ...                   &server_addr as *const SOCKADDR_IN as *const SOCKADDR,
[INFO] [stdout]    |                                                                    ^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `SOCKADDR_IN` in this scope
[INFO] [stdout]   --> src/main.rs:62:65
[INFO] [stdout]    |
[INFO] [stdout] 62 | ...                   std::mem::size_of::<SOCKADDR_IN>() as i32)};
[INFO] [stdout]    |                                           ^^^^^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]    |
[INFO] [stdout] 59 | pub fn connect_server<SOCKADDR_IN>(sock:SOCKET ,server_addr: SOCKADDR_IN) -> Result<(), ErrorMess>{
[INFO] [stdout]    |                      +++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `SOCKET_ERROR` in this scope
[INFO] [stdout]   --> src/main.rs:63:20
[INFO] [stdout]    |
[INFO] [stdout] 63 |     if i_result == SOCKET_ERROR{
[INFO] [stdout]    |                    ^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `SOCKET` in this scope
[INFO] [stdout]   --> src/main.rs:83:37
[INFO] [stdout]    |
[INFO] [stdout] 83 | pub fn send_mess(input: &str, sock: SOCKET) -> Result<(), ErrorMess> {
[INFO] [stdout]    |                                     ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `SOCKET_ERROR` in this scope
[INFO] [stdout]    --> src/main.rs:100:24
[INFO] [stdout]     |
[INFO] [stdout] 100 |         if i_result == SOCKET_ERROR {
[INFO] [stdout]     |                        ^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `SOCKET` in this scope
[INFO] [stdout]    --> src/main.rs:133:28
[INFO] [stdout]     |
[INFO] [stdout] 133 | pub fn receive_mess (sock: SOCKET) ->  Result <(), ErrorMess>{
[INFO] [stdout]     |                            ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::fs::remove_dir_all`
[INFO] [stdout]  --> src/main.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use std::fs::remove_dir_all;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Rng`
[INFO] [stdout]   --> src/main.rs:10:12
[INFO] [stdout]    |
[INFO] [stdout] 10 | use rand::{Rng};
[INFO] [stdout]    |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `WSAStartup` in this scope
[INFO] [stdout]   --> src/main.rs:30:29
[INFO] [stdout]    |
[INFO] [stdout] 30 |     let i_result = unsafe { WSAStartup(0x0202, &mut wsa_data) };
[INFO] [stdout]    |                             ^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `WSAGetLastError` in this scope
[INFO] [stdout]   --> src/main.rs:32:28
[INFO] [stdout]    |
[INFO] [stdout] 32 |         let code = unsafe {WSAGetLastError().0};
[INFO] [stdout]    |                            ^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `WSACleanup` in this scope
[INFO] [stdout]   --> src/main.rs:33:17
[INFO] [stdout]    |
[INFO] [stdout] 33 |         unsafe {WSACleanup()};
[INFO] [stdout]    |                 ^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `WINSOCK_SOCKET_TYPE` in this scope
[INFO] [stdout]   --> src/main.rs:36:49
[INFO] [stdout]    |
[INFO] [stdout] 36 |     let sock: SOCKET = match unsafe { socket(2, WINSOCK_SOCKET_TYPE(1), 6) } 
[INFO] [stdout]    |                                                 ^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `socket` in this scope
[INFO] [stdout]   --> src/main.rs:36:39
[INFO] [stdout]    |
[INFO] [stdout] 36 |     let sock: SOCKET = match unsafe { socket(2, WINSOCK_SOCKET_TYPE(1), 6) } 
[INFO] [stdout]    |                                       ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `WSAGetLastError` in this scope
[INFO] [stdout]   --> src/main.rs:40:33
[INFO] [stdout]    |
[INFO] [stdout] 40 |             let code = unsafe { WSAGetLastError().0 };
[INFO] [stdout]    |                                 ^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `WSACleanup` in this scope
[INFO] [stdout]   --> src/main.rs:41:21
[INFO] [stdout]    |
[INFO] [stdout] 41 |             unsafe {WSACleanup()};
[INFO] [stdout]    |                     ^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `htons` in this scope
[INFO] [stdout]   --> src/main.rs:53:27
[INFO] [stdout]    |
[INFO] [stdout] 53 |         sin_port: unsafe {htons(9999)},
[INFO] [stdout]    |                           ^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `connect` in this scope
[INFO] [stdout]   --> src/main.rs:60:29
[INFO] [stdout]    |
[INFO] [stdout] 60 |     let i_result =  unsafe {connect(sock, 
[INFO] [stdout]    |                             ^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `WSAGetLastError` in this scope
[INFO] [stdout]   --> src/main.rs:64:28
[INFO] [stdout]    |
[INFO] [stdout] 64 |         let code = unsafe {WSAGetLastError().0};
[INFO] [stdout]    |                            ^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `WSACleanup` in this scope
[INFO] [stdout]   --> src/main.rs:65:17
[INFO] [stdout]    |
[INFO] [stdout] 65 |         unsafe {WSACleanup()};
[INFO] [stdout]    |                 ^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `closesocket` in this scope
[INFO] [stdout]   --> src/main.rs:66:18
[INFO] [stdout]    |
[INFO] [stdout] 66 |         unsafe  {closesocket(sock)};
[INFO] [stdout]    |                  ^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SEND_RECV_FLAGS` in this scope
[INFO] [stdout]   --> src/main.rs:99:49
[INFO] [stdout]    |
[INFO] [stdout] 99 | ...                   SEND_RECV_FLAGS(0))};
[INFO] [stdout]    |                       ^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `send` in this scope
[INFO] [stdout]   --> src/main.rs:97:32
[INFO] [stdout]    |
[INFO] [stdout] 97 |         let i_result = unsafe {send(sock, 
[INFO] [stdout]    |                                ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `WSAGetLastError` in this scope
[INFO] [stdout]    --> src/main.rs:101:32
[INFO] [stdout]     |
[INFO] [stdout] 101 |             let code = unsafe {WSAGetLastError().0};
[INFO] [stdout]     |                                ^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `closesocket` in this scope
[INFO] [stdout]    --> src/main.rs:105:22
[INFO] [stdout]     |
[INFO] [stdout] 105 |             unsafe { closesocket(sock) }; 
[INFO] [stdout]     |                      ^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `WSACleanup` in this scope
[INFO] [stdout]    --> src/main.rs:106:22
[INFO] [stdout]     |
[INFO] [stdout] 106 |             unsafe { WSACleanup() };
[INFO] [stdout]     |                      ^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SEND_RECV_FLAGS` in this scope
[INFO] [stdout]    --> src/main.rs:140:41
[INFO] [stdout]     |
[INFO] [stdout] 140 | ...                   SEND_RECV_FLAGS(0))};
[INFO] [stdout]     |                       ^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `recv` in this scope
[INFO] [stdout]    --> src/main.rs:138:33
[INFO] [stdout]     |
[INFO] [stdout] 138 |         let i_result = unsafe { recv(sock, 
[INFO] [stdout]     |                                 ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `WSAGetLastError` in this scope
[INFO] [stdout]    --> src/main.rs:175:32
[INFO] [stdout]     |
[INFO] [stdout] 175 |             let code = unsafe {WSAGetLastError().0};
[INFO] [stdout]     |                                ^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `WSACleanup` in this scope
[INFO] [stdout]    --> src/main.rs:176:22
[INFO] [stdout]     |
[INFO] [stdout] 176 |             unsafe { WSACleanup() };
[INFO] [stdout]     |                      ^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `closesocket` in this scope
[INFO] [stdout]    --> src/main.rs:177:22
[INFO] [stdout]     |
[INFO] [stdout] 177 |             unsafe { closesocket(sock)};
[INFO] [stdout]     |                      ^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `WSADATA` in this scope
[INFO] [stdout]   --> src/main.rs:29:24
[INFO] [stdout]    |
[INFO] [stdout] 29 |     let mut wsa_data = WSADATA::default();
[INFO] [stdout]    |                        ^^^^^^^ use of undeclared type `WSADATA`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0422, E0425, E0433.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0422`.
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `WSAStartup` in this scope
[INFO] [stdout]   --> src/main.rs:30:29
[INFO] [stdout]    |
[INFO] [stdout] 30 |     let i_result = unsafe { WSAStartup(0x0202, &mut wsa_data) };
[INFO] [stdout]    |                             ^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `WSAGetLastError` in this scope
[INFO] [stdout]   --> src/main.rs:32:28
[INFO] [stdout]    |
[INFO] [stdout] 32 |         let code = unsafe {WSAGetLastError().0};
[INFO] [stdout]    |                            ^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `WSACleanup` in this scope
[INFO] [stdout]   --> src/main.rs:33:17
[INFO] [stdout]    |
[INFO] [stdout] 33 |         unsafe {WSACleanup()};
[INFO] [stdout]    |                 ^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `WINSOCK_SOCKET_TYPE` in this scope
[INFO] [stdout]   --> src/main.rs:36:49
[INFO] [stdout]    |
[INFO] [stdout] 36 |     let sock: SOCKET = match unsafe { socket(2, WINSOCK_SOCKET_TYPE(1), 6) } 
[INFO] [stdout]    |                                                 ^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `socket` in this scope
[INFO] [stdout]   --> src/main.rs:36:39
[INFO] [stdout]    |
[INFO] [stdout] 36 |     let sock: SOCKET = match unsafe { socket(2, WINSOCK_SOCKET_TYPE(1), 6) } 
[INFO] [stdout]    |                                       ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `WSAGetLastError` in this scope
[INFO] [stdout]   --> src/main.rs:40:33
[INFO] [stdout]    |
[INFO] [stdout] 40 |             let code = unsafe { WSAGetLastError().0 };
[INFO] [stdout]    |                                 ^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `WSACleanup` in this scope
[INFO] [stdout]   --> src/main.rs:41:21
[INFO] [stdout]    |
[INFO] [stdout] 41 |             unsafe {WSACleanup()};
[INFO] [stdout]    |                     ^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `htons` in this scope
[INFO] [stdout]   --> src/main.rs:53:27
[INFO] [stdout]    |
[INFO] [stdout] 53 |         sin_port: unsafe {htons(9999)},
[INFO] [stdout]    |                           ^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `connect` in this scope
[INFO] [stdout]   --> src/main.rs:60:29
[INFO] [stdout]    |
[INFO] [stdout] 60 |     let i_result =  unsafe {connect(sock, 
[INFO] [stdout]    |                             ^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `WSAGetLastError` in this scope
[INFO] [stdout]   --> src/main.rs:64:28
[INFO] [stdout]    |
[INFO] [stdout] 64 |         let code = unsafe {WSAGetLastError().0};
[INFO] [stdout]    |                            ^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `WSACleanup` in this scope
[INFO] [stdout]   --> src/main.rs:65:17
[INFO] [stdout]    |
[INFO] [stdout] 65 |         unsafe {WSACleanup()};
[INFO] [stdout]    |                 ^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `closesocket` in this scope
[INFO] [stdout]   --> src/main.rs:66:18
[INFO] [stdout]    |
[INFO] [stdout] 66 |         unsafe  {closesocket(sock)};
[INFO] [stdout]    |                  ^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SEND_RECV_FLAGS` in this scope
[INFO] [stdout]   --> src/main.rs:99:49
[INFO] [stdout]    |
[INFO] [stdout] 99 | ...                   SEND_RECV_FLAGS(0))};
[INFO] [stdout]    |                       ^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `send` in this scope
[INFO] [stdout]   --> src/main.rs:97:32
[INFO] [stdout]    |
[INFO] [stdout] 97 |         let i_result = unsafe {send(sock, 
[INFO] [stdout]    |                                ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `WSAGetLastError` in this scope
[INFO] [stdout]    --> src/main.rs:101:32
[INFO] [stdout]     |
[INFO] [stdout] 101 |             let code = unsafe {WSAGetLastError().0};
[INFO] [stdout]     |                                ^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `closesocket` in this scope
[INFO] [stdout]    --> src/main.rs:105:22
[INFO] [stdout]     |
[INFO] [stdout] 105 |             unsafe { closesocket(sock) }; 
[INFO] [stdout]     |                      ^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `tcp_client` (bin "tcp_client" test) due to 43 previous errors; 2 warnings emitted
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `WSACleanup` in this scope
[INFO] [stdout]    --> src/main.rs:106:22
[INFO] [stdout]     |
[INFO] [stdout] 106 |             unsafe { WSACleanup() };
[INFO] [stdout]     |                      ^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SEND_RECV_FLAGS` in this scope
[INFO] [stdout]    --> src/main.rs:140:41
[INFO] [stdout]     |
[INFO] [stdout] 140 | ...                   SEND_RECV_FLAGS(0))};
[INFO] [stdout]     |                       ^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `recv` in this scope
[INFO] [stdout]    --> src/main.rs:138:33
[INFO] [stdout]     |
[INFO] [stdout] 138 |         let i_result = unsafe { recv(sock, 
[INFO] [stdout]     |                                 ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `WSAGetLastError` in this scope
[INFO] [stdout]    --> src/main.rs:175:32
[INFO] [stdout]     |
[INFO] [stdout] 175 |             let code = unsafe {WSAGetLastError().0};
[INFO] [stdout]     |                                ^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `WSACleanup` in this scope
[INFO] [stdout]    --> src/main.rs:176:22
[INFO] [stdout]     |
[INFO] [stdout] 176 |             unsafe { WSACleanup() };
[INFO] [stdout]     |                      ^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `closesocket` in this scope
[INFO] [stdout]    --> src/main.rs:177:22
[INFO] [stdout]     |
[INFO] [stdout] 177 |             unsafe { closesocket(sock)};
[INFO] [stdout]     |                      ^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0422, E0425, E0433.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0422`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `tcp_client` (bin "tcp_client") due to 43 previous errors; 2 warnings emitted
[INFO] running `Command { std: "docker" "inspect" "ff5dcf91504117f7be8740b5f841e26262310ab7cc15d3e117377226617675ad", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "ff5dcf91504117f7be8740b5f841e26262310ab7cc15d3e117377226617675ad", kill_on_drop: false }`
[INFO] [stdout] ff5dcf91504117f7be8740b5f841e26262310ab7cc15d3e117377226617675ad
